Skip to content

Conversation

swcollard
Copy link
Contributor

re: #411

One of the other features mentioned in this issue is setting the metric Temporality configuration option on the SDK. This can have implications as different vendors requires the use of Delta over the default of Cumulative. This change creates a new enum to expose that option in the configuration file and sets the Temporality on the otel sdk.

Spec: https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality
Blogs explaining differences: https://grafana.com/blog/2023/09/26/opentelemetry-metrics-a-guide-to-delta-vs.-cumulative-temporality-trade-offs/ & https://docs.datadoghq.com/opentelemetry/guide/otlp_delta_temporality/

Ports similar change made in Apollo Router apollographql/router#3412

@apollo-librarian
Copy link

apollo-librarian bot commented Oct 2, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 1 changed, 0 removed
* (developer-tools)/apollo-mcp-server/(latest)/config-file.mdx

Build ID: eb2640023499b4c27a3ca809
Build Logs: View logs

URL: https://www.apollographql.com/docs/deploy-preview/eb2640023499b4c27a3ca809

@swcollard swcollard marked this pull request as ready for review October 3, 2025 18:04
@swcollard swcollard requested review from a team as code owners October 3, 2025 18:04
@swcollard swcollard requested review from alocay and DaleSeo October 7, 2025 19:34
Copy link
Contributor

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my feedback! 🙇‍♂️

Update config file docs to add information about Temporality

Co-authored-by: Dale Seo <[email protected]>
@swcollard swcollard merged commit 3b145db into develop Oct 9, 2025
11 checks passed
@swcollard swcollard deleted the metric-temporality branch October 9, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants